package com.kelvem.saas.workbanch.core.experiment;

import lombok.Data;

import java.lang.reflect.Method;

/**
 * @author kelvem
 */
@Data
@Deprecated
public class EventItem {
    private String eventCode;
    private Object bean;
    private String methodName;
    private Method method;
    private String beanName;

    public EventItem(String eventCode, Method method, String beanName) {
        this.eventCode = eventCode;
        this.methodName = method.getName();
        this.method = method;
        this.beanName = beanName;
    }
}
